package com.example.consumer;

import com.example.consumer.wsdl.DemoService;
import com.example.consumer.wsdl.DemoService_Service;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author wangbin
 */
@Slf4j
@Service
public class TestClient {

    public String test(String name) {
        DemoService service = new DemoService_Service().getDemoServiceImplPort();
        return service.sayHello(name);
    }
}
